from flask import Flask

import config
app = Flask("myshop")

app.config.from_object(config)

from views.alipay import alipay
from views.frontend import frontend
from views.goods import goods
from views.admin import admin
from views.order import order
app.register_blueprint(alipay, url_prefix="/alipay")
app.register_blueprint(frontend)
app.register_blueprint(goods, url_prefix="/p")
app.register_blueprint(admin, url_prefix="/admin")
app.register_blueprint(order, url_prefix="/order")
